//
//  FileManager.h
//  HLRecord
//
//  Created by XTW on 2022/12/7.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface FileManager : NSObject
+ (FileManager *)sharedManager;
///获取文件路径
- (NSString *)getFilePath:(NSString*)fileName;
///获取临时文件路径
- (NSString*)getTemporaryFilePath:(NSString*)fileName;
///获取本地录音文件路径
- (NSString *)getLocalFilePath:(NSString*)fileName;
///获取本地录音文件大小
- (NSString *)getLocalFileSize:(NSString*)fileName;
///获取背景音文件路径
- (NSString *)getBgAudioFilePath:(NSString*)fileName;
///创建文件夹
- (void)createFolder:(NSString*)folderString;
///判断文件是否存在
- (BOOL)judgeObjectExistence:(NSString*)objectPath;
///删除文件
- (BOOL)removeObject:(NSString*)path;
///复制文件
- (void)copyObject:(NSString*)path toPath:(NSString*)path1;
///临时文件的路径
- (void)deleteTemporaryFile;
@end

NS_ASSUME_NONNULL_END
